package com.xxgc.mybatis.dao;

import com.xxgc.mybatis.entity.Money;
import com.xxgc.mybatis.entity.MoneyExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @yang
 * @date 2021/10/26/09:01
 */
public interface MoneyMapper {
    long countByExample(MoneyExample example);

    int deleteByExample(MoneyExample example);

    int deleteByPrimaryKey(Long mId);

    int insert(Money record);

    int insertSelective(Money record);

    List<Money> selectByExample(MoneyExample example);

    Money selectByPrimaryKey(Long mId);

    int updateByExampleSelective(@Param("record") Money record, @Param("example") MoneyExample example);

    int updateByExample(@Param("record") Money record, @Param("example") MoneyExample example);

    int updateByPrimaryKeySelective(Money record);

    int updateByPrimaryKey(Money record);
}